<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			/* 立即执行函数可以在未被调用时就执行
			只有表达式才能执行 */
		    /* var a = function test(){
				console.log('a');
			}(); */
			/* function test(a,b,c,d){
				console.log(a+b+c+d);
			}(1,2,3,4);
			 */
			var a = 1, b = 2, c = 3;
			var i = function test(){
				console.log(a+b+c);
			}();
		</script> 
	</head>
	<body>
	</body>
</html>
